package com.wyh.domain.po.feemanagementpo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资源表
 * </p>
 *
 * @author ggt
 * @since 2024-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("resource")
@ApiModel(description = "资源信息表")
public class Resourcees implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "资源id")
    private Integer id;

    /**
     * 资源类型，0房屋、1车位
     */
    @ApiModelProperty(value = "资源类型，0房屋、1车位")
    private Integer type;

    /**
     * 资源编号
     */
    @ApiModelProperty(value = "资源编号")
    private String number;

    /**
     * 虚拟资源，0是、1否
     */
    @ApiModelProperty(value = "是否是虚拟资源")
    private Integer isvirtual;

    /**
     * 套内面积
     */
    @ApiModelProperty(value = "套内面积")
    private BigDecimal insidearea;

    /**
     * 所属楼栋
     */
    @ApiModelProperty(value = "所属楼层")
    private Integer buildingid;

    /**
     * 资源名称
     */
    @ApiModelProperty(value = "资源名称")
    private String name;

    /**
     * 建筑面积
     */
    @ApiModelProperty(value = "建筑面积")
    private BigDecimal buildingarea;

    /**
     * 容量值
     */
    @ApiModelProperty(value = "容量值")
    private BigDecimal capacity;

    /**
     * 资源状态，0未接房、1空闲、2已出租、3失效
     */
    @ApiModelProperty(value = "资源状态")
    private Integer state;

    @ApiModelProperty(value = "资源完整名称")
    private String infoname;


    @ApiModelProperty(value = "是否欠费")
    @TableField(exist = false)
    private Integer isarrears;
    @ApiModelProperty(value = "预存详情")
    @TableField(exist = false)
    private List<PreStorages> preStoragesList;
    @ApiModelProperty(value = "账单详情")
    @TableField(exist = false)
    private List<Billdetailes> billdetailesList;


}
